package com.snail.app.gather.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;

/**
 * @description
 * @date 2021/11/22
 * @autor houyanfeng
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Embeddable
public class DataSyncTriggerInfoId implements Serializable {
    @Column(length = 20)
    private String id;//关键标识
    @Column(length = 20)
    private String syncType;//同步类型 update-新增和更新； delete-删除
}
